package cn.iocoder.yudao.module.system.controller.admin.officeinfo.vo;

import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import cn.iocoder.yudao.module.system.enums.DictTypeConstants;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 办公室座位信息新增/修改 Request VO")
@Data
public class SeatinfoSaveReqVO {

    @Schema(description = "办公室ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "办公室ID不能为空")
    private Long officeId;

    @Schema(description = "座位编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "座位编号不能为空")
    private Long seatNum;

    @Schema(description = "座位状态")
    @ExcelProperty(value = "座位状态", converter = DictConvert.class)
    @DictFormat("seat_status")
    private Integer seatStatus;

    @Schema(description = "座位名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "座位名称不能为空")
    private String seatName;

    @Schema(description = "座位位置")
    private String seatSite;

    @Schema(description = "座位ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23730")
    private Long id;

    @Schema(description = "所属区域")
    private String seatRegion;

}